<template>
  <el-form ref="qmGenForm" :model="model" :rules="rules" :disabled="disabled" label-width="80px">
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="您的姓名" prop="name">
          <el-input v-model="model.name" placeholder="请输入您的姓名" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="单位名称" prop="unitName">
          <el-input v-model="model.unitName" placeholder="请输入单位名称" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="所属行业" prop="industry">
          <el-input v-model="model.industry" placeholder="请输入所属行业" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="联系电话" prop="concatNumber">
          <el-input v-model="model.concatNumber" placeholder="请输入联系电话" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="工作邮箱" prop="workMailbox">
          <el-input v-model="model.workMailbox" placeholder="请输入工作邮箱" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="状态" prop="state">
           <el-input v-model="model.state" placeholder="请输入状态" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label="备注" prop="remarks">
          <el-input v-model="model.remarks" type="textarea" placeholder="请输入内容" />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  props: {
    models: Object,
    model: Object,
    disabled: Boolean,
    controlData:Object
  },
  data() {
    return {
      // 表单校验
      rules: {
        name: [
          {
            required: true,
            message: "您的姓名不能为空",
            trigger: "blur"
          }
        ],
        unitName: [
          {
            required: true,
            message: "单位名称不能为空",
            trigger: "blur"
          }
        ],
        concatNumber: [
          {
            required: true,
            message: "联系电话不能为空",
            trigger: "blur"
          }
        ],
        state: [
          {
            required: true,
            message: "状态不能为空",
            trigger: "blur"
          }
        ]
      }
    };
  },
  methods: {}
};
</script>

<style scoped lang="scss">
</style>